/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.structural.proxy.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.DesignPatterns.structural.proxy.FastThing;
import za.ac.cput.DesignPatterns.structural.proxy.Proxy;

/**
 *
 * @author 210017252
 */ 
@Configurable
public class ThingConf {
    @Bean 
    public Proxy proxy(){
    return new Proxy();
    } 
    @Bean 
    public FastThing fastThing(){
    return new FastThing();
    }
}
